doctype html
html(lang="en")
    head
        meta(http-equiv="Content-Type" content="text/html;charset=utf-8")
        meta(name="viewport" content="initial-scale=1, minimum-scale=1, maximum-scale=1,user-scalable=no,width=device-width")
        meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
        meta(name='apple-mobile-web-app-status-bar-style', content='black')
        meta(name='apple-mobile-web-app-capable', content='yes')
        meta(name='format-detection', content='telephone=no')
        if $SYS
            meta(name="keywords" content="#{$SYS.keywords || $sys.sys_keywords}")
            meta(name="description" content="#{$SYS.description || $sys.sys_description}")
            title #{$SYS.title} - #{$sys.sys_webname}
        else
            meta(name="keywords" content="#{$sys.sys_keywords}")
            meta(name="description" content="#{$sys.sys_description}")
            title #{$sys.sys_webname}
        link(rel='stylesheet', href='https://cdn.bootcss.com/bootstrap/3.1.1/css/bootstrap.min.css', media='all')
        link(rel='stylesheet', href='/fonts/font-awesome.css', media='all')
        link(rel='stylesheet', href='/css/base.css', media='all')
    block content
